// BookManager.aidl
package com.kanshu.basictest;

// Declare any non-default types here with import statements
import com.kanshu.basictest.model.ipc.Book;
import com.kanshu.basictest.IBookShelfChangedListener;
interface BookManager {

    //添加新书
    void addBook( in Book book);
    //获取图书列表
    List<Book> getBookList();
    //注册监听
    void  registerListener( IBookShelfChangedListener ls);
    //注销监听
    void  unRegisterListener( IBookShelfChangedListener ls);
}
